type github.com/jackc/pgx/v5/pgtype.timeWrapper
17 uses
github.com/jackc/pgx/v5/pgtype (current package)
builtin_wrappers.go#L398: type timeWrapper time.Time
builtin_wrappers.go#L400: func (w *timeWrapper) ScanDate(v Date) error {
builtin_wrappers.go#L407: *w = timeWrapper(v.Time)
builtin_wrappers.go#L418: func (w timeWrapper) DateValue() (Date, error) {
builtin_wrappers.go#L422: func (w *timeWrapper) ScanTimestamp(v Timestamp) error {
builtin_wrappers.go#L429: *w = timeWrapper(v.Time)
builtin_wrappers.go#L440: func (w timeWrapper) TimestampValue() (Timestamp, error) {
builtin_wrappers.go#L444: func (w *timeWrapper) ScanTimestamptz(v Timestamptz) error {
builtin_wrappers.go#L451: *w = timeWrapper(v.Time)
builtin_wrappers.go#L462: func (w timeWrapper) TimestamptzValue() (Timestamptz, error) {
builtin_wrappers.go#L466: func (w *timeWrapper) ScanTime(v Time) error {
builtin_wrappers.go#L485: *w = timeWrapper(time.Date(2000, 1, 1, int(hours), int(minutes), int(seconds), int(ns), time.UTC))
builtin_wrappers.go#L489: func (w timeWrapper) TimeValue() (Time, error) {
pgtype.go#L633: return &wrapTimeScanPlan{}, (*timeWrapper)(target), true
pgtype.go#L794: return plan.next.Scan(src, (*timeWrapper)(dst.(*time.Time)))
pgtype.go#L1490: return &wrapTimeEncodePlan{}, timeWrapper(value), true
pgtype.go#L1653: return plan.next.Encode(timeWrapper(value.(time.Time)), buf)